package GUI;

import javax.swing.JScrollPane;
import javax.swing.JTable;

public class PayTable {

	private JTable table;
	private PayTableModel model;	
	
	public JScrollPane getTabel() {
		table = new JTable();
		
		model = new PayTableModel();

		model.refresh();
		table.setModel(model);

		JScrollPane sp = new JScrollPane(table);

		return sp;
	}

}
